import request from '@/utils/request'

export function wholeStringOfHosesHose(data) { //整串软管检测-查询所有整串软管
  return request({
    url: '/hose-management/api/wholeString/all',
    method: 'post',
    data
  })
}


export function wholeStringOfHosesList(data) { //整串软管检测-列表
  return request({
    url: '/hose-management/api/wholeHoseCheck/page',
    method: 'post',
    data
  })
}


export function wholeStringOfHosesAdd(data) { //整串软管检测-新增
  return request({
    url: '/hose-management/api/wholeHoseCheck/add',
    method: 'post',
    data
  })
}


export function wholeStringOfHosesDetail(data) { //整串软管检测-检测记录
  return request({
    url: '/hose-management/api/wholeHoseCheck/record',
    method: 'post',
    data
  })
}

export function wholeStringOfHosesEdit(data) { //检测记录-编辑
  return request({
    url: '/hose-management/api/wholeHoseCheck/record/edit',
    method: 'post',
    data
  })
}
export function wholeStringOfHosesDetele(data) { //检测记录-删除
  return request({
    url: '/hose-management/api/wholeHoseCheck/del/record',
    method: 'post',
    data
  })
}